/////////////////////////////////////////////
// ObjectARX defined commands

#include "StdAfx.h"
#include "StdArx.h"
#include "WindoTypeDlg.h"

extern CWindoTypeDlg* gpDlg;

// This is command 'WINDO'
void windo()
{
	// TODO: Implement the command

	if(!gpDlg)
	{
		CAcModuleResourceOverride resOverride;

		gpDlg = new CWindoTypeDlg(acedGetAcadFrame());
		gpDlg->Create(IDD_WINDOTYPE);
	}
	else
	{
		::AfxMessageBox("Modeless Dialog is already active!");
	}
}

